package com.sctvcloud.bazhong.beans;

import com.ruihang.generalibrary.ui.util.IListData;
import com.sctvcloud.bazhong.ui.util.IListInfoData;
import com.sctvcloud.bazhong.ui.util.IListShowData;

import java.util.ArrayList;

/**
 * Created by Administrator on 2017/7/6.
 */

public class Titles implements IListShowData{
    private String title;
    private String dateString;

    private Titles otherTemp;

    private int viewType;

    @Override
    public String getDataTitle() {
        return title;
    }

    @Override
    public String getDataImg() {
        return null;
    }

    @Override
    public String getDataTag() {
        return null;
    }

    @Override
    public int getDataType() {
        return otherTemp == null ? 1 : 0;
    }

    @Override
    public int getDataViewType() {
        return viewType;
    }

    @Override
    public IListData getOwner() {
        return null;
    }

    @Override
    public String getDataId() {
        return null;
    }
    @Override
    public String getTime() {
        return null;
    }

    @Override
    public IListShowData getOwenerData() {
        return null;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDateString() {
        return dateString;
    }

    public void setDateString(String dateString) {
        this.dateString = dateString;
    }

    public Titles getOtherTemp() {
        return otherTemp;
    }

    public void setOtherTemp(Titles otherTemp) {
        this.otherTemp = otherTemp;
    }

    public int getViewType() {
        return viewType;
    }

    public void setViewType(int viewType) {
        this.viewType = viewType;
    }

    @Override
    public String toString() {
        return "Titles{" +
                Integer.toHexString(hashCode()) +
                " & title='" + title + '\'' +
                ", dateString='" + dateString + '\'' +
                ", otherTemp=" + otherTemp +
                ", viewType=" + viewType +
                '}';
    }
}
